home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / Sample.bin / runnit.bat < prev    next >
DOS Batch File  |  1998-06-30  |  659b  |  20 lines

  1. @echo off
  2. rem Run the TableExample2 demo
  3. rem
  4. rem @(#)runnit.bat    1.4 97/12/19 
  5.  
  6. if "%SWING_HOME%" == "" goto nohome
  7. if "%JDBCHOME%" == "" goto nojdbchome
  8. @echo on
  9. java -classpath ".;%JDBCHOME%;%SWING_HOME%;%SWING_HOME%\swing.jar;%SWING_HOME%\windows.jar;%SWING_HOME%\motif.jar;%SWING_HOME%\jlf.jar;%SWING_HOME%\mac.jar;%SWING_HOME%\1.1_libs\swing.jar;%SWING_HOME%\1.1_libs\windows.jar;%SWING_HOME%\1.1_libs\motif.jar;%SWING_HOME%\1.1_libs\jlf.jar;%SWING_HOME%\1.1_libs\mac.jar;%CLASSPATH%" TableExample2
  10. @echo off
  11. goto done
  12.  
  13. :nohome
  14. echo No SWING_HOME environment variable set.
  15.  
  16. :nojdbchome
  17. echo No JDBCHOME environment variable set.
  18.  
  19. :done
  20.